package com.tedu.rechargeOrder.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class RechargeOrderVO {
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("总金额")
    private BigDecimal amount;
    @ApiModelProperty("订单状态")
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty("最后更新时间")
    private Date updateTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty("最后更新时间")
    private Date completeTime;
    @ApiModelProperty("支付方式")
    private String paymentMethod;
    @ApiModelProperty("第三方交易ID")
    private String transactionId;
}
